package com.qingke.easyjava;

public class HelloChinaBean {
	private String message ="message";
	private String message2 ="message2";
	
	public void sayHelloWorld(){
		System.out.println("Hello,from "+message+"!");
	}
	public void sayHello(){
		System.out.println("Hello,from "+message2+"!");
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getMessage2() {
		return message2;
	}
	public void setMessage2(String message2) {
		this.message2 = message2;
	}
	public void init(){
		System.out.println("China Bean init()");
	}
	public void destroy(){
		System.out.println("China Bean destroy()");
	}
	
}
